From: Ruthra Kumar Date: Mon, 16 Nov 2020 22:04:36 +0000 (+0100) Subject: Use 'eshell-find-alias-function' instead of fboundp X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~4355 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7ab6213886c72ac7a04a20b114a4f810c6484168;p=emacs.git Use 'eshell-find-alias-function' instead of fboundp * lisp/eshell/esh-cmd.el (eshell-invoke-directly): Fix problem with (require 'em-tramp) making password prompting from "sudo bash" no longer work (bug#43772). --- diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index f1cf9336899..68b34837a23 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el @@ -918,7 +918,7 @@ at the moment are: (funcall pred name)) (throw 'simple nil))) t)) - (fboundp (intern-soft (concat "eshell/" name)))))) + (eshell-find-alias-function name)))) (defun eshell-eval-command (command &optional input) "Evaluate the given COMMAND iteratively."